package com.cy.ppj.dao.mapper.product;

import com.cy.ppj.model.domian.product.ProductTag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

@Mapper
public interface ProductTagMapper extends BaseMapper<ProductTag> {

    void insertBatchWhenTagExist(@Param("productId") Long productId, @Param("tagIds") Long[] tagIds);

    void deleteBatch(@Param("productId") Long productId, @Param("tagIds") Long[] tagIds);
}
